package com.his.system.manager.entity;

import com.his.system.manager.config.ConstantProperties;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * prescription
 *
 * @author
 */
@Data
public class PrescriptionEntity implements Serializable {
    /**
     * ID主键
     */
    private Integer id;

    /**
     * 病历ID
     */
    private Integer medicalid;

    /**
     * 挂号ID
     */
    private Integer registid;

    /**
     * 开立医生ID
     */
    private Integer userid;

    /**
     * 处方名称
     */
    private String prescriptionname;

    /**
     * 开立时间
     */
    @DateTimeFormat(pattern = ConstantProperties.DATE_TIME_FORMAT)
    private Date prescriptiontime;

    /**
     * 处方状态
     */
    private Integer prescriptionstate;

    private static final long serialVersionUID = 1L;
}